<template>
	<view :style="theme" class="container">
	  <view class="cont"><u-parse :content="xy"></u-parse></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				xy: '',
			}
		},
		onLoad(ops) {
			this.getDetail(ops)
		},
		methods: {
			jump(url, params, a) {
				this.$app.jump(url, params, a);
			},
			jump2(url, params, a) {
				this.$app.jump2(url, params, a);
			},
			getDetail(ops) {
				uni.setNavigationBarTitle({
					title: ops.title,
				});
				this.$app.ajax({
					data: {
						param: {
							type: ops.type,
							code: ops.code
						}
					},
					api: this.$api.paymentConfiguration()
				}).then((res) => {
					if (res.errorCode === '000000') {
						this.xy = res.recordList[0].value
					}
				}).catch(() => {})
			}

		}

	}
</script>
<style scoped lang="scss">
	.cont{
	  box-sizing: border-box;
	  padding: 30rpx;
	}

</style>